package org.jeecg.modules.education.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @since 2020-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Education对象", description="学历")
@TableName(value = "sc_education")
public class Education implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("学历id")
    @TableId(value = "education_id", type = IdType.AUTO)
    private Integer educationId;

    @ApiModelProperty("学历")
    private String educationName;

    @ApiModelProperty("排序 越小越靠前")
    private Integer sort;

}
